<?php
/**
 * Created by PhpStorm.
 * User: lenovo
 * Date: 2017/8/27
 * Time: 21:44
 */
namespace app\api\validate;
use think\Validate;

class UserLogin  extends Validate
{
    protected $rule = [
        'username'  =>  'require',
        'password' =>  'require'
    ];
    protected $message = [
        'username.require'  =>  '账号必填',
        'password.require' =>  '密码必填',
    ];
}